Skip to content

feat: add chunk_size to collection iterate() methods - #1146

Open
vdusek wants to merge 2 commits into
masterfrom
feat/collection-iterate-chunk-size
Open

vdusek wants to merge 2 commits into
masterfrom
feat/collection-iterate-chunk-size

Conversation

@vdusek

@vdusek vdusek commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Adds chunk_size to the iterate() methods of all paginated collection clients, matching iterate_items(), iterate_keys() and iterate_requests() and the JS client's chunkSize. It caps the limit of each page request; a page never asks for more than what limit has left. Without it, the API picks the page size, as before.

Closes: #1149

✍️ Drafted by Claude Code

@vdusek vdusek added adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. labels Oct 16, 2026
@vdusek vdusek self-assigned this Oct 16, 2026
@codecov

codecov Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.46%. Comparing base (53a9954) to head (7d74a4f).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1146      +/-   ##
==========================================
+ Coverage   95.43%   95.46%   +0.03%     
==========================================
  Files          61       61              
  Lines        5935     5935              
==========================================
+ Hits         5664     5666       +2     
+ Misses        271      269       -2     
Flag Coverage Δ
integration 90.93% <100.00%> (+0.13%) ⬆️
unit 88.87% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vdusek
vdusek marked this pull request as ready for review October 16, 2026 11:57
@vdusek
vdusek requested a review from szaganek as a code owner October 16, 2026 11:57
@vdusek
vdusek requested review from Mantisus and Pijukatel and removed request for szaganek October 16, 2026 11:57
@apify-service-account apify-service-account added the tested Temporary label used only programatically for some analytics. label Oct 16, 2026
@vdusek vdusek removed the adhoc Ad-hoc unplanned task added during the sprint. label Oct 16, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add chunk_size to collection iterate() methods

2 participants